package com.heihx.vo;

import com.heihx.entity.OrderDetail;
import com.heihx.entity.Orders;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "订单返回的数据模型")
public class OrderVO extends Orders implements Serializable {

    //订单菜品信息
    @Schema(description = "订单菜品信息")
    private String orderDishes;

    //订单详情
    @Schema(description = "订单详情")
    private List<OrderDetail> orderDetailList;

}
